package com.yiyahui.project.erp.mapper;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaDeductStep;

/**
 * 划扣步骤Mapper接口
 * 
 * @author yiyahui
 * @date 2020-05-12
 */
public interface YiyaDeductStepMapper 
{
    /**
     * 查询划扣步骤
     * 
     * @param id 划扣步骤ID
     * @return 划扣步骤
     */
    public YiyaDeductStep selectYiyaDeductStepById(Long id);

    /**
     * 查询划扣步骤列表
     * 
     * @param yiyaDeductStep 划扣步骤
     * @return 划扣步骤集合
     */
    public List<YiyaDeductStep> selectYiyaDeductStepList(YiyaDeductStep yiyaDeductStep);

    /**
     * 新增划扣步骤
     * 
     * @param yiyaDeductStep 划扣步骤
     * @return 结果
     */
    public int insertYiyaDeductStep(YiyaDeductStep yiyaDeductStep);

    /**
     * 修改划扣步骤
     * 
     * @param yiyaDeductStep 划扣步骤
     * @return 结果
     */
    public int updateYiyaDeductStep(YiyaDeductStep yiyaDeductStep);

    /**
     * 删除划扣步骤
     * 
     * @param id 划扣步骤ID
     * @return 结果
     */
    public int deleteYiyaDeductStepById(Long id);

    /**
     * 批量删除划扣步骤
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYiyaDeductStepByIds(Long[] ids);
}
